home *** CD-ROM | disk | FTP | other *** search
/ HAKERIS 11 / HAKERIS 11.ISO / soft / development / Macromedia RoboHelp X5 / RoboHelpOffice.exe / Data1.cab / _7040F8AF03CE48BEB923751B471AA8A1 < prev    next >
Encoding:
Text File  |  2003-11-24  |  8.5 KB  |  193 lines

  1. <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
  2.  
  3. <html>
  4.  
  5. <head>
  6. <title>Customizing text nodes</title>
  7. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  8. <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
  9. <link rel="stylesheet" href="../styles_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
  10. <!--
  11. if (navigator.appName !="Netscape")
  12. {   document.write("<link rel='stylesheet' href='../styles.css'>");}
  13. //-->
  14. </script>
  15. <script type="text/javascript" language="JavaScript" title="BSSC Special Effects" src="../ehlpdhtm.js"></script><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
  16. <!--
  17. function reDo() {
  18.   if (innerWidth != origWidth || innerHeight != origHeight)
  19.      location.reload();
  20. }
  21. if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
  22.     origWidth = innerWidth;
  23.     origHeight = innerHeight;
  24.     onresize = reDo;
  25. }
  26. onerror = null; 
  27. //-->
  28. </script>
  29. <style type="text/css">
  30. <!--
  31. div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
  32. -->
  33. </style><script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
  34. <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
  35. <script type="text/javascript" language="javascript" src="../whver.js"></script>
  36. <script  type="text/javascript" language="javascript1.2">
  37.     <!--
  38.     var linkedScrollbarStyle = "<link rel='stylesheet' href='../wf_topics.css'>";
  39.     if( (!isTopicOnly()) &&(parent.gbFHPureHtml == null) )
  40.     {
  41.         document.write(linkedScrollbarStyle);
  42.     }
  43.     //-->
  44. </script>
  45. </head>
  46. <body lang="EN-US"><script type="text/javascript" language="javascript1.2">
  47. <!--
  48. if (window.addTocInfo)
  49. {
  50. addTocInfo("Using Template Flash Files\nCustomizing text nodes");
  51.  
  52.   addShowButton();
  53. }
  54. if (window.setRelStartPage)
  55. {
  56. setRelStartPage("../FlashHelp_SDK.htm");
  57.  
  58.     sendTopicLoaded();
  59.     autoSync(1);
  60.     sendSyncInfo();
  61.     sendAveInfo();
  62.     sendBgColorInfo();
  63. }
  64. //-->
  65. </script>
  66. <h1>Customizing text nodes</h1>
  67.  
  68. <p>Use the following information to customize text nodes in an SDK <a href="../Basics_Template_Files/Basics_of_Template_Flash_Files_(FLA).htm">template</a>. 
  69.  </p>
  70.  
  71. <p class=Normal><b style="font-weight: bold;">File name:</b> </p>
  72.  
  73. <p class=Normal>skin_textNode.fla</p>
  74.  
  75. <p class=Normal>This FLA file is used to generate the SWF file used in 
  76.  the navigation pane for all list/tree items displayed in the Table of 
  77.  Contents, Index, Search, and Glossary. In the Table of Contents, the text 
  78.  node is placed adjacent to the book/page/URL graphic. In the other panes, 
  79.  the text node is displayed by itself for each index entry, search hit, 
  80.  and glossary term. </p>
  81.  
  82. <p class=Normal>You can customize the way the text node transitions in 
  83.  and out and the way the text node displays when selected (highlight and 
  84.  text changes).</p>
  85.  
  86. <h4>Requirements:</h4>
  87.  
  88. <p class=Normal>The text node FLA file needs to include a <b>Generic FH 
  89.  Textnode </b>component (fhgeneric_comp) on the Stage in the first frame, 
  90.  with instance name<b> fhgeneric_comp</b>.</p>
  91.  
  92. <ul>
  93.     
  94.     <li class=kadov-p-CBULLETS><p class=BULLETS><b style="font-weight: bold;">textfield_mc:</b> 
  95.  This movie clip contains the text that transitions in and out. Use the 
  96.  labeled frames to determine the look of the text at the various states. 
  97.  The structure of this movie clip is:</p></li>
  98.     
  99.     <li class=kadov-p-CIndentedBullets><p class=IndentedBullets><span style="font-family: 'Courier New';"><span 
  100.  style="font: 7.0pt 'Times New Roman';"><font size=1 style="font-size:7pt;"> </font></span></span><b>textfield_mc: 
  101.  </b>This movie clip contains the timeline with labeled frames.</p></li>
  102.     
  103.     <ul>
  104.         
  105.         <li class=kadov-p-CIndentedBullets><p class=IndentedBullets><b 
  106.  style="font-weight: bold;">label_mc:</b> This movie clip can be manipulated 
  107.  on the <b>textfield_mc</b> timeline, but has no timeline of its own. It 
  108.  is just a container for the label.</p></li>
  109.         
  110.         <ul>
  111.             
  112.             <li class=kadov-p-CIndentedBullets><p class=IndentedBullets><b 
  113.  style="font-weight: bold;">label_txt:</b> This text field is populated 
  114.  with text at run time.</p></li>
  115.         </ul>
  116.     </ul>
  117.     
  118.     <li class=kadov-p-CBULLETS><p class=BULLETS
  119.                                     style="margin-left: 10px;"><span style="font: 7.0pt 'Times New Roman';"><font size=1 style="font-size:7pt;"> </font></span><b>highlight_mc:</b> 
  120.  This movie clip highlights the text node. It will stretch at run time 
  121.  to fit around whatever text is being displayed by the node.</p></li>
  122. </ul>
  123.  
  124. <p class=note><b style="font-weight: bold;">Note:</b> The text you see 
  125.  in the text field (label_txt) in Flash will not be the text you see in 
  126.  the FlashHelp run time. The text in the run time is dynamically loaded 
  127.  and will override any text you have in this field. The formatting of this 
  128.  text field is also loaded dynamically (it is defined in the FHS file), 
  129.  so there is no need to format this text.</p>
  130.  
  131. <h4>Labeled frames:</h4>
  132.  
  133. <p class=Normal>The following are labeled frames in <b>textfield_mc</b>:</p>
  134.  
  135. <ul>
  136.     
  137.     <li class=kadov-p-CBULLETS><p class=BULLETS><b style="font-weight: bold;">in:</b> 
  138.  This frame plays when the text node first appears at run time. This can 
  139.  be when the navigation pane is first displayed, or in the case of the 
  140.  Table of Contents, when a book is opened to display pages. Typically, 
  141.  the text node will ôflyö in.</p></li>
  142.     
  143.     <li class=kadov-p-CBULLETS><p class=BULLETS><b style="font-weight: bold;">visible:</b> 
  144.  This frame is the last frame of the ôinö sequence. It is used to display 
  145.  text nodes that donÆt need to be transitioned in.</p></li>
  146.     
  147.     <li class=kadov-p-CBULLETS><p class=BULLETS><b style="font-weight: bold;">selected:</b> 
  148.  This frame allows you to change the look of the text node in the selected 
  149.  state. Text nodes become selected when the user clicks them. Typical use 
  150.  of this section is to apply (and transition in) a tint effect to <b>label_mc</b>.</p></li>
  151.     
  152.     <li class=kadov-p-CBULLETS><p class=BULLETS><b style="font-weight: bold;">unselected:</b> 
  153.  This frame plays when another node becomes selected and the current node 
  154.  becomes unselected. This section is typically used to remove tint (transition 
  155.  the tint setting to color=none).</p></li>
  156.     
  157.     <li class=kadov-p-CBULLETS><p class=BULLETS><b style="font-weight: bold;">out:</b> 
  158.  This frame is played when a book in the Table of Contents is closed and 
  159.  the text node transitions out. Typically, the node will ôflyö out.</p></li>
  160. </ul>
  161.  
  162. <p class=Normal>The following labeled frames are in <b>highlight_mc</b>:</p>
  163.  
  164. <ul>
  165.     
  166.     <li class=kadov-p-CBULLETS><p class=BULLETS><span style="font-family: Symbol;"><span 
  167.  style="font: 7.0pt 'Times New Roman';"><font size=1 style="font-size:7pt;"> </font></span></span><b>in:</b> 
  168.  This frame plays when the text node is highlighted, transitioning the 
  169.  highlight in.</p></li>
  170.     
  171.     <li class=kadov-p-CBULLETS><p class=BULLETS><b style="font-weight: bold;">visible: 
  172.  </b>This frame is the last frame of the ôinö sequence. It is used to display 
  173.  text nodes that donÆt need to be transitioned in.</p></li>
  174.     
  175.     <li class=kadov-p-CBULLETS><p class=BULLETS><b style="font-weight: bold;">out:</b> 
  176.  This frame plays when the text node is deselected, transitioning the highlight 
  177.  out.</p></li>
  178. </ul>
  179.  
  180. <p>
  181.  
  182. <a href="javascript:void(0);" onClick="var e; if (parseInt(navigator.appVersion)>=4){e=event;}  if (parseInt(navigator.appVersion) >=2 && typeof(PopupMenu_Invoke) == 'function') PopupMenu_Invoke(e,'','Customizing backgrounds','Customizing_backgrounds_.htm','Customizing buttons','Customizing_buttons.htm','Customizing text fields','Customizing_text_fields.htm','Customizing the About Box','Customizing_the_About_Box.htm','Customizing the Glossary pane','Customizing_the_Glossary_pane.htm','Customizing the Index pane','Customizing_the_Index_pane.htm','Customizing the scroll bar','Customizing_the_scroll_bar.htm','Customizing the Search pane','Customizing_the_Search_pane.htm','Customizing the Table of Contents pane','Customizing_table_of_contents_(TOC).htm','Using template Flash files','Using_Template_Flash_Files.htm');return false;" title="Related Topics"><img src="../ss_btn_related_topics.gif" border=0 height=18 width=101 alt="Related Topics"></a>
  183.  
  184.  
  185.  </p>
  186.  
  187. <script type="text/javascript" language="JavaScript" title="WebHelpRelatedTopics"><!--
  188. if (parseInt(navigator.appVersion) >= 3 && typeof (WritePopupMenuLayer) == "function")
  189.   WritePopupMenuLayer();
  190. //--></script>
  191. </body>
  192. </html>
  193.